/**
 * 
 */
package wpmp.extjs3;

import wpmp.extjs3.data.Form;

/**
 * @author Wayne.Wang<5waynewang@gmail.com>
 * @since 4:55:13 PM Dec 19, 2012
 */
public final class ExtjsUtils {

	@SuppressWarnings("rawtypes")
	public static String getDefaultErrorFormJSONString(String errorMsg) {
		Form form = new Form();
		form.setSuccess(false);
		form.setErrorMsg(errorMsg);
		return form.toString();
	}
}
